package cn.guoxuepeng.hrm.client.impl;

import cn.guoxuepeng.hrm.client.CourseElasticsearchClient;
import cn.guoxuepeng.hrm.domain.CourseAddES;
import cn.guoxuepeng.hrm.domain.CourseByKeyVo;
import cn.guoxuepeng.hrm.util.AjaxResult;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Component
public class CourseElasticsearchClientImpl implements CourseElasticsearchClient {

    @Override
    public AjaxResult add(List<CourseAddES> list) {
        return AjaxResult.me().setSuccess(false).setMessage("失败");
    }

    @Override
    public AjaxResult delete(List<Long> ids) {
        return AjaxResult.me().setSuccess(false).setMessage("失败!");
    }

    @Override
    public AjaxResult findCourseByKey(CourseByKeyVo courseByKeyVo) {
        return AjaxResult.me().setSuccess(false).setMessage("失败!");
    }

}
